package experiment5.demo;

public class Message {
    private int type = 0;
    String msgSrc = null;
    String msgTarget = null;
    String content = null;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getMsgSrc() {
        return msgSrc;
    }

    public void setMsgSrc(String msgSrc) {
        this.msgSrc = msgSrc;
    }

    public String getMsgTarget() {
        return msgTarget;
    }

    public void setMsgTarget(String msgTarget) {
        this.msgTarget = msgTarget;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setContentObject(Object obj) {

    }
//    public static void main(String[] args) {
//
//
//    	JsonObject objJson = null;
//    	JsonBuilderFactory factory = null;
//        factory = null;
//        factory = Json.createBuilderFactory(null);
//
//        objJson = factory.createObjectBuilder().add("function", "InitFunction").add("winName", "libName").add("linuxName", "libg1.0.so").add("macName", "libg.1.0.dylib").build();
//    	System.out.println(objJson);
//
//    }
}
